import Vue from 'vue'


// 登录页
import { Button,NavBar,Field,Form,Toast   } from 'vant'
Vue.use(Button)
Vue.use(NavBar)
Vue.use(Field)
Vue.use(Form)
Vue.use(Toast)


import {Tabbar, TabbarItem,Image as VanImage,Tag,Col, Row,Icon,Cell, CellGroup,Dialog,Popup,DatetimePicker ,Uploader,Calendar    } from 'vant'
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(VanImage);
Vue.use(Tag);
Vue.use(Col);
Vue.use(Row);
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Dialog);
Vue.use(Popup);
Vue.use(DatetimePicker);
Vue.use(Uploader);
Vue.use(Calendar);


// 首页
import { Tab, Tabs,List,PullRefresh,Grid, GridItem,Lazyload    } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Lazyload);